package example.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import example.entity.User;
import example.mapper.UserMapper;
import example.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {
    @Autowired
    UserMapper userMapper;

    @Override
    public List<User> findList() {
        return userMapper.findList();
    }
}
